package com.angel.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.angel.bean.Branches;

@Mapper
public interface BranchesDao {
    int insert(@Param("branches") Branches branches);

    int insertSelective(@Param("branches") Branches branches);

    int insertList(@Param("branchess") List<Branches> branchess);

    int update(@Param("branches") Branches branches);


    List<Branches> findAll(@Param("branches") Branches branches);

    List<Branches> searchBranches(@Param("branches") Branches branches);

    int delete(@Param("branches")Branches branches);

    Branches findOneBranId(@Param("branches")Branches branches);
}
